@color: #FF734D;
a{
    color: #71797F;
    text-decoration: none;
    &:hover{
        color: @color;
        text-decoration: none;
    }
}
i,
.orange{
    color: @color;
}
html{
    max-width: 1400px;
}
body {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    font-size: 14px;
    color: #232628;
    font-family: tahoma, arial, "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #F7F9FA;
    max-width: 1420px;
}

// 清除浮动
.clearfix::before,
.clearfix::after{
    content :"";
    display: table;
    clear: both;
}

// 省略
.ellipsis{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


// 居中
.w{
    width: 1200px;
    margin: auto;
}
// 广告
#adver{
    height: 80px;
    cursor: pointer;
    background: url(../../img/ppdyr.png) 50% 0 no-repeat;
}

// 头部导航
#top-nav{
    height: 40px;
    line-height: 40px;
    background: #F3F5F7;
    font-size: 12px;
    color: #71797F;


    // 花瓣关注
    .top-l{
        float: left;
        display: flex;

        li{
            padding: 0 11px;

            span{
                padding: 0 5px;
            }
        }

        .wx{
            position: relative;
            z-index: 100;
            div{
                width: 150px;
                height: 180px;
                position: absolute;
                left: 0;
                background: white;
                text-align: center;
                display: none;
                img{
                    width: 90%;
                }
                p{
                    height: 20px;
                    margin-top: -20px;
                }
            }
            &:hover{
                background: white;
                div{
                    display: block;
                }
            }
        }
    }

    // 登录导航
    .top-r{
        float: right;
        display: flex;

        li{
            padding: 0 16px;

            span{
                padding:  0 5px;
            }
        }
        .kffw{
            position: relative;
            
            
            div{
                width: 100%;
                height: 120px;
                position: absolute;
                left: 0;
                display: none;
                background: white;
                text-align: center;
                p{
                    height: 20px;
                }
            }
        }
    }
}

// 头部
#header{
    height: 120px;
    overflow: hidden;

    .logo{
        margin-top: 30px;
        width: 238px;
        height: 60px;
        background: url(../../img/big-logo.png)  no-repeat;
        background-size: 100%;
        background-position: 0 -26px;
    }

    // 搜索框
    .service{
        width: 440px;
        height: 48px;
        border: 2px solid @color;
        border-radius: 24px;
        margin: 25px auto 0;
        padding-left: 0px;
        position: relative;
        background: white;

        .fas{
            width: 54px;
            line-height: 44px;
            text-align: center;
            color: #C6CBCF;
            font-size: 14px;
        }

        input{
            width: 264px;
            height: 44px;
            border: 0;
            outline: 0;
            color: #71797F;
        }

        // 搜索
        button{
            width: 116px;
            height: 46px;
            border: 0px;
            outline: 0;
            border-radius: 24px;
            position: absolute;
            top: -1px;
            right: -1px;
            color: #fff;
            font-size: 18px;
            font-weight: bold;
            background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);
        }

        // 推荐
        .comm{
            margin: 10px 0 0 50px;
            span{
                color: #71797F;
                padding: 0 10px;
                font-size: 12px;
            }
        }
    }

    // 联系电话
    .contact{
      color: #71797F;  
      font-size: 14px;
      margin-top: 40px;

      .fas{
          margin: 0 10px 0 20px;
          font-size: 20px;
      }

      .fa-headphones{
          margin-left: 34px;
      }
    }
}

// 导航
.navi-box{
    height: 53px;
    position: relative;
    z-index: 10;
    

    // 全部分类
    .category{
        position: relative;
       

        // 分类text
        .fa-bars{
            width: 240px;
            line-height: 53px;
            padding-left: 30px;
            background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);
            color: white;
            font-size: 18px;
            border-radius: 15px 15px 0 0;

            &:before{
                font-size: 24px;
                margin-right: 8px;
                vertical-align: middle;
            }
        }

        // 下拉
        .dropdow{
            position: absolute;
            width: 240px;
            height: 480px;
            padding-top: 10px;
            background: rgba(0, 0, 0, 0.5);
            
            // 分支导航盒子
            &>li{
                padding: 9px 0 9px 20px;
                border-bottom: 1px dotted #C6CBCF;
                color: #F3F5F7;

                h4{
                    font-size: 16px;
                    font-weight: bold;
                    padding:6px 30px 0 0;
                    a{
                        color: #fff;
                        &:hover{
                            color: @color;
                        }
                    }
                }

                // 分支导航
                ul{
                    margin-top: 10px;

                    li{
                        display: inline-block;
                        height: 24px;
                        padding: 0 4px;

                        a{
                            color: white;
                            &:hover{
                                color: @color;
                            }
                        }
                    }
                }

                // hover
                .right-pop-items{
                    padding: 20px;
                    position: absolute;
                    width: 960px;
                    height: 480px;
                    background: white;
                    top: 0px;
                    right: -960px;
                    display: none;
                }
                // 永生花
                .flower-hover{
                    h4{
                        font-size: 18px;
                        color: #000;
                        margin-bottom: 10px;
                    }
                    img{
                        width: 67px;
                        border-radius: 50%;
                    }
                }
                // 蛋糕hover
                .cake-hover{
                    &>div{
                        display: inline-block;
                        margin: 20px;
                    }
                }
                // 礼品hover
                .gift-hover{
                    h4{
                        font-size: 18px;
                        color: #000;
                    }
                    div{
                        margin: 10px;
                    }
                }
            }

            // 右侧导航
            .cate-pop:hover{
                cursor: pointer;
                background: #fff;
                a{
                    color: #71797F;
                    &:hover{
                        color: @color;
                    }
                }
                .link{
                    color: #000;
                }
                .right-pop-items{
                    display: block;
                }
            }
        }
    }

    // 导航
    .navi-nav{
        line-height: 52px;

        li{
            display: inline-block;
            margin: 0 14px;

            a{
                font-size: 18px;
                font-weight: bold;
                color: #000;
                &:hover{
                    color: @color;
                }
            }
        }
    }
}

// 轮播图
#test1{

    img{
        width: 1800px;
        height: 480px;
        margin-left: -380px;
    }
}

// 手机轮播
.narrow-car{
    width: 300px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;

    #test2{
    
        img{
            width: 400px;
            height: 100px;
            margin-left: -80px;
        }
    }
}

// 手机企业推荐
.conpany-info{
    padding: 8px 0;
    font-size: 12px;
    color: #71797F;

    div{
        display: inline-block;
    }
}


// 手机导航
.narrow-nav{
    width: 300px;
    height: 100px;
    border-radius: 10px;
    background: white;

    .procate-item{
        width: 56px;
        height: 50px;
        text-align: center;
        display: inline-block;
        font-size: 12px;

        img{
            margin-top: 6px;
            height: 50%;
        }
    }
}


// 企业介绍
.info{

    a{
        display: inline-block;
        font-size: 18px;
        padding: 30px 60px;
        color: #000;

        &:hover{
            color: @color;
        }

        .fas,
        .far,
        .fab{
            font-size: 24px;
            color: @color;
            vertical-align: middle;
            margin-right: 6px;
        }
    }
}
//场景入口
.scene{
    .top{
        margin-top: 15px;
    }
    .top-big{
        margin-top: 26px;
    }
    img{
        width: 90%;
    }
}

// 新品
.products{
    img{
        width: 24.4%;
        padding: 30px 10px 30px 0 ;
    }
}

// 鲜花专区
.f-lover{
    background: #F7F9FA;
    height: 800px;
    overflow: hidden;
   
    // 大图
    .lover-fl{
        width: 288px;
        height: 656px;
        margin-right: 20px;
        position: relative;

        img{
            width: 100%;
            height: 100%;
            padding: 0;
        }

        // 专区
        div{
            width: 100%;
            height: 160px;
            background: url(../../img/home_linkcover.png);
            position: absolute;
            bottom: 0px;
            text-align: center;
           
            a{
                display: block;
                margin: 26px;
                width: 236px;
                line-height: 56px;
                border: 2px solid rgba(255, 255, 255, 0.7);
                font-size: 22px;
                font-weight: bold;
                color: white;
            }
        }
    }
}

// 右侧小图
.commo{
    width: 17%;
    height: 320px;
    margin: 0 19px 15px 0;
    background: white;
    font-size: 16px;

    // 商品图片
    div{
        width: 100%;
        height: 222px;
        overflow: hidden;
        overflow: hidden;
        img{
            width: 100%;
            padding: 0;
            transform-origin: center center;
            transition: 0.7s;
        }

        &:hover{
            img{
                transform: scale(1.1);
            }
        }
    }

    // 商品详情
    p{
        text-align: center;
        line-height: 25px;
        &:nth-child(3){      //价格
        font-weight: bold;
        }
        &:nth-child(4){       //销售量
        color: #71797F;
        font-size: 12px;
        }
    }
}


 // h2标签
 .titlee{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 20px;

    h2{
        font-size: 24px;
        font-weight: bold;
        margin-right: 10px;

        a{
            color: #000;
            &:hover{
                color: @color;
            }
        }
    }

    // 更多
    .pull-right{
        font-size: 14px;
        padding-right: 22px;
    }
}

// 蛋糕
.cake{
    background: #E9ECF0;
    padding-top: 10px;

    .titlee{
        background: #E9ECF0;
    }

    // 城市盒子
    .brand-box{
        background: white;

        // 选择地址
        .city-box{
            margin-top: 20px;
            width: 263px;
            line-height: 48px;
            border-radius: 0 50px 50px 0;
            color: white;
            padding:0 50px 0 24px;
            background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);

            // 弹框盒子
            .city-cities{
                cursor: pointer
            }
        }

        // 详细城市
        ul{
            margin-top: 25px;
            line-height: 30px;

            li{
                display: inline-block;
                font-size: 16px;
                margin: 0 12px;
                font-weight: bold;

                a{
                    color: #000;
                    &:hover{
                        color: @color;
                    }
                }
            }
        }
    }

    // 蛋糕
    .brand{
        background: white;
        
        div{
            width: 167px;
            height: 124px;
            text-align: center;
            display: inline-block;

            img{
                height: 60px ;
                margin-top: 10px;
            }
        }
    }
}

// 礼品
.gift{
   padding-top: 20px; 
   background: #F7F9FA;

    // 推荐导航
    .comm-nav{
        height: 130px;
        padding: 14px;
        background: white;

        // 导航名
        .comm-name{
            a{
                margin: 0 8px;
            }
        }

        // 品牌
        .gift-brand{
            margin-top: 10px;

            a{
                width: 116px;
                height: 84px;
                text-align: center;

                img{
                    height: 64px;
                }
            }
        }
    }
}

// 通用小图标
.gift-comm{
    height: 700px;
    margin-top: 20px;


    .commo{
        border-radius: 10px;
    }
}

// 蛋糕商品
.cakee{
    height: 400px;
    overflow: hidden;
    .commo{
        width: 18.4%;
    }
}

// 评论
.comment{
    // 盒子
    .f-comments-item{
        width: 280px;
        height: 176px;
        padding: 8px;
        margin: 8px;
        overflow: hidden;
        background: white;
        border-radius: 5px;

        // 用户信息
        ul{
            width: 137px;
            height: 144px;

            
            li{
                // 用户头像
                &:nth-child(1){
                    img{
                        width: 24px;
                        height: 24px;
                        margin-right: 10px;
                        border-radius: 50%;
                        vertical-align: middle;
                    }
                }

                &:nth-child(2){
                    font-size: 16px;
                    padding-top: 5px;
                    height: 60px;
                }

                &:nth-child(3),
                &:nth-child(4){
                    color: #9ea7ad;
                }
            }
        }

        // 图片
        .f-comments-item-r{
            
            img{
                width: 110px;
                height: 167px;
                border-radius: 5px;
            }
        }
    }
    
}

// 热门
.server{
    padding-top: 10px;

    // 热门资讯
    .articles-list{
        background: white;
        height: 230px;
        li{
            line-height: 30px;
            span{
                font-size: 12px;
                margin-right: 10px;
            }

            a{
                font-size: 12px;
            }
        }
    }

    // 特色
    .characteristic{
        height: 200px;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;

        li{
            display: inline-block;
            margin: 20px 0 ;
            font-size: 20px;
            width: 290px;
            height: 40px;
            

            .fas,
            .fab,
            .far{
                font-size: 40px;
                margin-right: 10px;
                color: @color;
                vertical-align: middle;
            }
        }
    }

    // 客户服务
    .cues-serv{
        margin-top: 30px;
        font-size: 12px;
        .col-lg-2{
            // 标题
            h4{
                font-size: 16px;
                margin-bottom: 10px;
            }
            // 客服服务
            ul{
                width: 197px;
                li{
                    margin: 5px 20px 5px 0;
                    display: inline-block;
                }
            }
            // 联系我们
            p{
                margin: 5px 20px 5px 0;
                color: #71797F;
            }
            // 在线客服
            .service{
                width: 100px;
                line-height: 32px;
                text-align: center;
                color: white;
                background: @color;
                border-radius: 16px;

                a{
                    color: white;
                }
            }
        }
        // 二维码
        .server-code{
            font-size: 14px;
            div{
                width: 120px;
                height: 148px;
                margin: 0 20px;
                display: inline-block;
                img{
                    width: 100%;
                }
            }
        }
    }
}

// end
.footer{
    margin-top: 10px;
    background: #232628;
    padding: 40px;
    overflow: hidden;

    // 尾部导航
    .ft-nav{
        a{
            color: white;
            padding: 0 0 0 28px ;
            font-size: 16px;
            line-height:3;
        }
    }

    // 尾部证书
    .ft-site{
        margin-top: 20px;
        color: #71797F;
        line-height: 2;
    }

    // 图标
    .ft-auth{
        margin-top: 7px;
        height: 40px;
        margin-bottom: 10px;
        img{
            height: 40px;
            margin:  0 5px;
            border-radius: 3px;
        }
    }
}

// 侧边导航
.rightBar-list{
    width: 60px;
    height: 360px;
    background: white;
    border: 1px solid #ddd;
    border-bottom: 0;
    float: right;
    margin:-6300px 30px 0 0;
    position: sticky;
    top: 19px;
   

    li{
        height: 60px;
        text-align: center;
        line-height: 20px;
        border-bottom: 1px solid #ddd;

        div{
            line-height: 40px;
            font-size: 24px;
        }
    }
}
























@media only screen and (max-width:1200px){
    .w{
        width: 992px;
    }
    // 轮播
    #test1 img{
        margin-left: -600px;
    }

    // 企业介绍
    .info{
        a{
            padding: 30px 35px;
        }
    }

    // 手机导航
    .narrow-nav{
        height: 100px;
        text-align: center;

    
        .procate-item{
            width: 9%;
            font-size: 18px;
    
            img{
                height: 100%;
            }
        }
    }

    // 鲜花专区
    .f-lover,
    .gift-comm{
        height: 880px;

        .lover-fr .commo{
            width: 23%;
            height: 380px;
        }
    }

    // 蛋糕商品
    .cakee{
        height: 350px;
        overflow: hidden;
        .commo{
            width: 23%;
            height: 330px;
            margin: 0 25px 30px 0;

            &:nth-child(4){
                img{
                    height: 249px;
                }
                margin-right: 0;
            }
        }
    }

    // 礼品
    .giftt{
        height: 650px;
        overflow: hidden;
    }

    // 热门
    .server{

        // 16年品牌
        .characteristic{
            li{
                width: 244px;
            }
        } 
    }
}
@media only screen and (max-width:992px) {
    .w{
        width: 768px;
    }

    // 轮播
    #test1 img{
        width: 1600px;
        margin-left: -600px;
    }

    // 企业介绍
    .info{
        a{
            padding: 30px 10px;
        }
    }

    
    // 手机导航
    .narrow-nav{
        height: 100px;
        text-align: center;
    
        .procate-item{
            width: 9%;
            font-size: 16px;
    
            img{
                height: 90%;
            }
        }
    }

    //场景入口
    .scene{
        .top{
            margin-top: 12px;
        }
        img{
            width: 90%;
        }
    }

     // 鲜花专区
     .f-lover{
         height: 790px;

        .lover-fr .commo{
            width: 30%;
            height: 350px;
    
            img{
                width: 100%;
            }
        }
     }

    //  通用小图标
    .gift-comm{
        width: 768px;
        background: white;
        height: 1090px;
        overflow: hidden;

        .commo{
            width: 30%;
            height: 350px;
    
            img{
                width: 100%;
            }
        }
    }

    // 蛋糕商品
    .cakee{
        height: 350px;
        overflow: hidden;
        .commo{
            width: 30%;
            height: 330px;
            margin: 0 25px 30px 0;

            &:nth-child(3){
                margin-right: 0;
            }
        }
    }

    // 评论
    .comment .f-comments-item{
        width: 47%;
    }

    // 热门
    .server{

        // 16年品牌
        .characteristic{
            li{
                width: 180px;
                font-size: 18px;
            }
        } 
    }
}
@media only screen and (max-width:768px){
    .w{
        width: 300px;
    }
    body{
        background: #F7F9FA;
    }
    // logo
    #header{
        height: 30px;
        margin-bottom: 10px;

        .logo{
            width: 100%;
            height: 20px;
            background: url(../../img/m_hualogo.png) center center no-repeat;
            background-size: auto 20px;
            margin: 10px 0 0 0;

            .fas{
                line-height: 20px; 
                font-size: 18px; 
                cursor: pointer
            }
        }
    } 

    // 手机导航
    .narrow-nav{
        width: 300px;
        height: 100px;
        border-radius: 10px;
        background: white;
    
        .procate-item{
            width: 56px;
            height: 50px;
            text-align: center;
            display: inline-block;
            font-size: 12px;
    
            img{
                margin-top: 6px;
                height: 50%;
            }
        }
    }

     //场景入口
     .scene{
        margin-top: 10px;
        background: white;
        text-align: center;
        padding: 10px 0;
        border-radius: 5px 5px 0 0;
        .top{
            margin-top: 5px;
        }
        img{
            width: 90%;
        }
    }
    // 新品
    .products{
        background: white;
        padding-bottom: 10px;
        border-radius: 0 0 5px 5px;
        img{
            width: 49%;
            padding: 3px 5px 0;
        }
    }

     // 鲜花专区
     .f-lover{
        height: 790px;

        .lover-fr .commo{
           width: 300px;
           height: 163px;
           margin-bottom: 20px;


            //img
            div{
                width: 50%;
                float: left;
                margin-right: 20px;
            }

            p{
                text-align: left;

                &:nth-child(2){
                    font-size: 14px;
                    font-weight: bold;
                }

                &:nth-child(3){
                    margin-top: 10px;
                }
            }

            .fas{
                color: @color;
                font-size: 18px;
                float: right;
                margin:3px 20px 0 0;
            }
        }
    }
     //  通用小图标
     .gift-comm{
         width: 300px;
        overflow: hidden;
        
        .commo{
           width: 300px;
           height: 163px;
           margin-bottom: 20px;


            //img
            div{
                width: 50%;
                float: left;
                margin-right: 20px;
            }

            p{
                text-align: left;

                &:nth-child(2){
                    font-size: 14px;
                    font-weight: bold;
                }

                &:nth-child(3){
                    margin-top: 10px;
                }
            }

            .fas{
                color: @color;
                font-size: 18px;
                float: right;
                margin:3px 20px 0 0;
            }
        }
    }
}